<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>测试Rest风格</title>
</head>
<body>

<form action="user" method="get">
    <input value="Rest-GET 提交" type="submit">
</form>

<form action="user" method="post">
    <input value="Rest-POST 提交" type="submit">
</form>

<form action="user" method="post">
    <input name="_method" value="DELETE" type="hidden">
    <input value="Rest-DELETE 提交" type="submit">
</form>

<form action="user" method="post">
    <input name="_method" value="PUT" type="hidden">
    <input value="Rest-PUT 提交" type="submit">
</form>
</body>
</html>